home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 3 / Amiga Tools 3.iso / grafik / raytracing / rayshade-4.0.6.3 / man / rlequant.man < prev    next >
Text File  |  1994-04-01  |  4KB  |  133 lines

  1.  
  2.  
  3.  
  4. RLEQUANT(1)                                           RLEQUANT(1)
  5.  
  6.  
  7. NNAAMMEE
  8.        rlequant  -  variance  based  color  quantization  for RLE
  9.        images
  10.  
  11. SSYYNNOOPPSSIISS
  12.        rrlleeqquuaanntt [ --bb _b_i_t_s ] [ --cc ] [ --dd ] [ --ff ] [ --mm ] [ --nn _c_o_l_­
  13.        _o_r_s ] [ --oo _o_u_t_f_i_l_e ] [ _i_n_f_i_l_e ]
  14.  
  15. DDEESSCCRRIIPPTTIIOONN
  16.        This  program quantizes the colors in an RLE image using a
  17.        variance-based method.  See _c_o_l_o_r_q_u_a_n_t(3) for more details
  18.        on the method.
  19.  
  20.        --bb _b_i_t_s
  21.               The  colors  in  the  input image will be "prequan­
  22.               tized" to this many bits before applying the  vari­
  23.               ance-based  method.   Two  internal  tables of size
  24.               22^^((33**bits)) are allocated, so values of _b_i_t_s greater
  25.               than 6 are likely to cause thrashing or may prevent
  26.               the program from running at all.  The default value
  27.               of  _b_i_t_s  is 5.  It must be less than or equal to 8
  28.               and greater than 0.
  29.  
  30.        --cc     Only the color map will be output; the  image  will
  31.               not  be  digitized.   The output file will be a 0x0
  32.               _R_L_E file with a color map, suitable  for  input  to
  33.               _r_l_e_l_d_m_a_p(1) or _r_l_e_d_i_t_h_e_r(1).
  34.  
  35.        --dd     Floyd  Steinberg dithering is performed on the out­
  36.               put.  This is very helpful for images  being  quan­
  37.               tized to a small number of colors.
  38.  
  39.        --ff     If this option is specified, a faster approximation
  40.               will be used.  In most cases, the error  so  intro­
  41.               duced will be barely noticeable.
  42.  
  43.        --mm     Computes a single color map suitable for quantizing
  44.               all the input images.   This  is  useful  when  the
  45.               quantized  images  will be used as a "movie" (e.g.,
  46.               with the --mm flag of _g_e_t_x_1_1(1)).  The input may  not
  47.               come  from  a  pipe  when this option is specified,
  48.               unless --cc is also specified.
  49.  
  50.        --nn _c_o_l_o_r_s
  51.               The output image will be quantized to at most  _c_o_l_­
  52.               _o_r_s colors.  It might have fewer if the input image
  53.               has only a few colors itself.  The default value of
  54.               _c_o_l_o_r_s  is  256.   It must be less than or equal to
  55.               256.
  56.  
  57.        --oo _o_u_t_f_i_l_e
  58.               The output will be written to the file _o_u_t_f_i_l_e.  If
  59.               not  specified,  or  if  _o_u_t_f_i_l_e is "-", the output
  60.               will be written to the standard output stream.
  61.  
  62.  
  63.  
  64. 1                         June 12, 1990                         1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. RLEQUANT(1)                                           RLEQUANT(1)
  71.  
  72.  
  73.        _i_n_f_i_l_e This file contains one  or  more  concatenated  RLE
  74.               images.   Each  will be processed in turn.  A sepa­
  75.               rate quantization map will be constructed for  each
  76.               image.   If not specified, or if _i_n_f_i_l_e is "-", the
  77.               image(s) will  be  read  from  the  standard  input
  78.               stream.
  79.  
  80. SSEEEE AALLSSOO
  81.        _m_c_u_t(1), _r_l_e_d_i_t_h_e_r(1), _u_r_t(1), _c_o_l_o_r_q_u_a_n_t(3), _R_L_E(5).
  82.  
  83. AAUUTTHHOORR
  84.        Spencer W. Thomas
  85.        Craig  Kolb (Yale University) wrote the color quantization
  86.        code.
  87.        Rod Bogart wrote the dithering code.
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130. 1                         June 12, 1990                         2
  131.  
  132.  
  133.